#include <basic_types.h>
#include <sys_config.h>

#ifdef TTX_CYRILLIC_3_SUPPORT

static const UINT32 TTX_CYRILLIC_3_Font[][96][9] =
{
   //TTX_CYRILLIC_3_SUPPORT
		{
		     { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  032  0x20
                   { 0x00000000, 0x0001c007, 0x001c0070, 0x01c00700, 0x1c007001, 0xc0070000, 0x007001c0, 0x07000000, 0x00000000},    //  033  0x21
                   { 0x00000000, 0x001f7c7d, 0xf1f7c3cf, 0x0f3c79c1, 0xe7000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  034  0x22
                   { 0x00000000, 0x000f3c3c, 0xf0f3c7ff, 0x9ffe7ff8, 0xf3c3cf0f, 0x3c7ff9ff, 0xe3cf0f3c, 0x3cf00000, 0x00000000},    //  035  0x23
			{0x00000000, 0x3000c01f, 0xc0ffc3cf, 0x0f001f00, 0x1f001f00, 0x7c00f0f3, 0xc1fc01e0, 0x03000c00, 0x00000000},
                   { 0x00000000, 0x00000038, 0x19f0e6c7, 0x9b1c7ce0, 0xe7003803, 0xc01ee0f7, 0xc71b187c, 0x40e00000, 0x00000000},    //  037  0x25
			{ 	0x00000000,	0xd8036000,	0x00000070,	0x01c00700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
                   { 0x00000000, 0x0003e00f, 0x803e0078, 0x01e00f00, 0x3c000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  039  0x27
                   { 0x00000000, 0x00000001, 0xc01f00f0, 0x03c01f00, 0x7801e007, 0x801e007c, 0x00f001f0, 0x01c00000, 0x00000000},    //  040  0x28
                   { 0x00000000, 0x0000001c, 0x007c0078, 0x01e007c0, 0x0f003c00, 0xf003c01f, 0x007807c0, 0x1c000000, 0x00000000},    //  041  0x29
                   { 0x00000000, 0x0001e007, 0x83deef7b, 0xbdeef7bb, 0xffe0fc3f, 0xfef7bbde, 0xef7b81e0, 0x07800000, 0x00000000},    //  042  0x2a
                   { 0x00000000, 0x00000000, 0x001e0078, 0x01e00781, 0xffc7ff1f, 0xfc07801e, 0x00780000, 0x00000000, 0x00000000},    //  043  0x2b
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000f0, 0x03c00f00, 0x1c00e003, 0x800e0000},    //  044  0x2c
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0xffc7ff1f, 0xfc000000, 0x00000000, 0x00000000, 0x00000000},    //  045  0x2d
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000f0, 0x03c00f00, 0x3c000000, 0x00000000},    //  046  0x2e
                   { 0x00000000, 0x00000000, 0x3001c00f, 0x007803c0, 0x1e00f007, 0x803c01e0, 0x0f003800, 0x00000000, 0x00000000},    //  047  0x2f
                   { 0x00000000, 0x00000007, 0x807f83cf, 0x0f3c3cf0, 0xf3c3cf0f, 0x3c3cf0f3, 0xc3cf07f8, 0x07800000, 0x00000000},    //  048  0x30
                   { 0x00000000, 0x00000003, 0xc01f00fc, 0x07f01fc0, 0x0f003c00, 0xf003c00f, 0x003c00f0, 0x03c00000, 0x00000000},    //  049  0x31
                   { 0x00000000, 0x0000000f, 0xc07f83ff, 0x0e3c38f0, 0x07803c01, 0xe00f0078, 0x03ff0ffc, 0x3ff00000, 0x00000000},    //  050  0x32
                   { 0x00000000, 0x00000007, 0x807f03ce, 0x0e1c3870, 0x03c03c00, 0xf000f0e1, 0xc3ce07f0, 0x07800000, 0x00000000},    //  051  0x33
                   { 0x00000000, 0x00000001, 0xc00f007c, 0x03f01fc0, 0xf7071c1c, 0x707ff1ff, 0xc01c0070, 0x01c00000, 0x00000000},    //  052  0x34
                   { 0x00000000, 0x0000007f, 0xe1ff8700, 0x1c007001, 0xff07fe00, 0x7800e1c3, 0x87de0ff0, 0x1f800000, 0x00000000},    //  053  0x35
                   { 0x00000000, 0x0000000f, 0xc07f8186, 0x0e003800, 0xfe03fc0e, 0x3838e0e3, 0x818e07f0, 0x0f800000, 0x00000000},    //  054  0x36
                   { 0x00000000, 0x0000003f, 0xe0ff8006, 0x003800e0, 0x07001800, 0xe0070018, 0x00e00300, 0x0c000000, 0x00000000},    //  055  0x37
                   { 0x00000000, 0x0000000f, 0x807f038e, 0x0e3838e0, 0xe381fc07, 0xf038e0e3, 0x838e07f0, 0x0f800000, 0x00000000},    //  056  0x38
                   { 0x00000000, 0x0000000f, 0x807f038e, 0x0e3838e0, 0xe3838e07, 0xf80fe003, 0x830e0ff0, 0x1f800000, 0x00000000},    //  057  0x39
                   { 0x00000000, 0x00000000, 0x003c00f0, 0x03c00f00, 0x3c000000, 0x000f003c, 0x00f003c0, 0x00000000, 0x00000000},    //  058  0x3a
                   { 0x00000000, 0x00000000, 0x003c00f0, 0x03c00f00, 0x3c000000, 0x000f003c, 0x00f003c0, 0x1f007800, 0x00000000},    //  059  0x3b
                   { 0x00000000, 0x00001c01, 0xf01fc0fc, 0x07e01f83, 0xf80f803f, 0x801f803f, 0x007f007c, 0x00700000, 0x00000000},    //  060  0x3c
                   { 0x00000000, 0x00000000, 0x01ffc7ff, 0x1ffc7ff0, 0x0007ff1f, 0xfc7ff000, 0x00000000, 0x00000000, 0x00000000},    //  061  0x3d
                   { 0x00000000, 0x003c00f8, 0x03f801f8, 0x03f00fc0, 0x1fc01f01, 0xfc0fc07e, 0x0fe03e00, 0xf0000000, 0x00000000},    //  062  0x3e
                   { 0x00000000, 0x000ff83f, 0xf1ffc78f, 0x003c00f0, 0x03c07f01, 0xf8070000, 0x007001c0, 0x07000000, 0x00000000},    //  063  0x3f

			{ 	0x00000007,	0x1f1cfe77,	0xfddc7771,	0xddc77f1d,	0xfc7771dd,	0xc7771ddf,	0xf73f9c7c,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x7801e00f,	0xc03f00fc,	0x07381ce0,	0xe1c3ff0f,	0xfc7039c0,	0xee01f807,	0x00000000,	0x00000000},
			{ 	0x00000007,	0xfc1ff070,	0x01c00700,	0x1c007f81,	0xff071e1c,	0x3870e1c7,	0x87fc1fe0,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x039c0e70,	0x39c0e703,	0x9c0e7039,	0xc0e7039c,	0x0e7039c0,	0xe7ffdfff,	0x001c0070,	0x01c00700},
			{ 	0x00000001,	0xff07fc1c,	0x7071c1c7,	0x071c1c70,	0x71c3870e,	0x1c3871c1,	0xcfffbffe,	0xe03b80ee,	0x03800000},
			{ 	0x00000007,	0xff1ffc70,	0x01c00700,	0x1c007fe1,	0xff87001c,	0x007001c0,	0x07ff1ffc,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x3800e00f,	0xe0ffe3bb,	0x9ce7739d,	0xce7739ce,	0xee3ff83f,	0x803800e0,	0x00000000,	0x00000000},
			{ 	0x00000003,	0xff0ffc38,	0x00e00380,	0x0e003800,	0xe003800e,	0x003800e0,	0x03800e00,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x01ce0e1c,	0x7071c0ee,	0x01f00380,	0x0e007c03,	0xb81c7071,	0xc3839c07,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x039c1e70,	0xf9c3e71f,	0x9cee73b9,	0xdce7739f,	0x8e7c39f0,	0xe7839c0e,	0x00000000,	0x00000000},
			{ 	0x18c07f00,	0xf81c1e70,	0xf9c3e71f,	0x9cee73b9,	0xdce7739f,	0x8e7c39f0,	0xe7839c0e,	0x00000000,	0x00000000},
			{ 	0x00000003,	0x878e3e39,	0xc0e703b8,	0x0ee03f00,	0xfc03b80e,	0x7038e0e3,	0x83870e0e,	0x00000000,	0x00000000},
			{ 	0x00000003,	0xff0ffc38,	0x70e1c387,	0x0e1c3870,	0xe1c3870e,	0x1c3870e1,	0xcf873c1c,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x039e1e78,	0x79e1e7cf,	0x9f3e7cf9,	0xf3e6fd9b,	0xf66fd9bf,	0x667999e6,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x039c0e70,	0x39c0e703,	0x9c0e7ff9,	0xffe7039c,	0x0e7039c0,	0xe7039c0e,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x7c07fc3c,	0x78e0e701,	0xdc07701d,	0xc07701dc,	0x073838f1,	0xe1ff01f0,	0x00000000,	0x00000000},
			{ 	0x00000007,	0xff9ffe70,	0x39c0e703,	0x9c0e7039,	0xc0e7039c,	0x0e7039c0,	0xe7039c0e,	0x00000000,	0x00000000},
			{ 	0x00000001,	0xff8ffe78,	0x39c0e703,	0x9e0e3ff8,	0x7fe0e387,	0x0e3838e0,	0xe703b80e,	0x00000000,	0x00000000},
			{ 	0x00000007,	0xfc1ff870,	0xf1c1c707,	0x1c3c7fe1,	0xff07001c,	0x007001c0,	0x07001c00,	0x00000000,	0x00000000},
			{ 	0x00000000,	0xfc07fc3c,	0x78e0e700,	0x1c007001,	0xc007001c,	0x0e3838f1,	0xc1ff03f0,	0x00000000,	0x00000000},
			{ 	0x00000007,	0xff1ffc07,	0x001c0070,	0x01c00700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
			{ 	0x0000000e,	0x039c1c70,	0x70e381ce,	0x07380fc0,	0x3f007801,	0xe007001c,	0x03e00f00,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x39dce77b,	0xbceee3ff,	0x87fc1ff0,	0x1f01ff0f,	0xfe3bb9ee,	0xf739dce7,	0x00000000,	0x00000000},
			{ 	0x00000007,	0xf81ff071,	0xe1c3870e,	0x1c787fc1,	0xff870f1c,	0x1c7071c3,	0xc7fe1ff0,	0x00000000,	0x00000000},
			{ 	0x00000007,	0x001c0070,	0x01c00700,	0x1c007f81,	0xff071e1c,	0x3870e1c7,	0x87fc1fe0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x7001c007,	0x001c0070,	0x01c00700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0xf807f03d,	0xe0e3800e,	0x007807c0,	0x1f001e00,	0x3838e0f7,	0x81fc03e0,	0x00000000,	0x00000000},
			{ 	0x00000006,	0x7399ce67,	0x399ce673,	0x99ce6739,	0x9ce67399,	0xce67399c,	0xe7ff9ffe,	0x00000000,	0x00000000},
			{ 	0x00000000,	0xfc07fc3c,	0x78e0e700,	0x1c007f01,	0xfc07001c,	0x0e3838f1,	0xc1fe03f0,	0x00000000,	0x00000000},
			{ 	0x00000006,	0x7399ce67,	0x399ce673,	0x99ce6739,	0x9ce67399,	0xce67399c,	0xe7ffdfff,	0x001c0070,	0x01c00700},
			{ 	0x00000007,	0x071c1c70,	0x71c1c707,	0x1c1c78f0,	0xffc1ff00,	0x1c007001,	0xc007001c,	0x00000000,	0x00000000},
			{ 	0x0dc03700,	0x0001c007,	0x001c0070,	0x01c00700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x0000071f,	0x1cfe77bd,	0xdc77f1df,	0xc7771dde,	0xf73f9c7c,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000000fe,	0x07fc3870,	0x01c0ff07,	0xfc3870e3,	0xc3ff07fe,	0x00000000,	0x00000000},
			{ 	0x000001c0,	0xff07f81c,	0x00e003fc,	0x0ff83cf0,	0xe1c3870e,	0x1c3870f3,	0x81fe03f0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e3838e0,	0xe3838e0e,	0x3838e0e3,	0x83ff0ffc,	0x007001c0,	0x07001c00},
			{ 	0x00000000,	0x00000000,	0x000000fe,	0x03f80ee0,	0x3b80ee07,	0x381ce0e3,	0x87ff1ffc,	0x7071c1c7,	0x07000000},
			{ 	0x00000000,	0x00000000,	0x000000fc,	0x07f81ce0,	0xe1c3ff0f,	0xfc3800f1,	0xc1fe03f0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x7001c007,	0x001c07ff,	0x3ffeefbf,	0x1c7c71f1,	0xc7c71fbe,	0xffff9ffc,	0x07001c00,	0x7001c000},
			{ 	0x00000000,	0x00000000,	0x000000fc,	0x03f00e00,	0x3800e003,	0x800e0038,	0x00e00380,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000707,	0x0e381dc0,	0x3e007001,	0xc00f8077,	0x038e1c1c,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000387,	0x0e3c39f0,	0xe7c3bf0f,	0xdc3f70f9,	0xc3c70e1c,	0x00000000,	0x00000000},
			{ 	0x00000001,	0x8c07f00f,	0x80000387,	0x0e3c39f0,	0xe7c3bf0f,	0xdc3f70f9,	0xc3c70e1c,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000001ce,	0x07781d80,	0x7e01f007,	0xe01d8077,	0x01ce0738,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000001ff,	0x07fc1c70,	0x71c1c707,	0x1c1c7071,	0xc7c71e1c,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000787,	0x9f3e7cf9,	0xf3e7ff9f,	0xfe7ff9ff,	0xe77b9dee,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e3838e0,	0xe383fe0f,	0xf838e0e3,	0x838e0e38,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000000fc,	0x07f83cf0,	0xe1c3870e,	0x1c3870f3,	0xc1fe03f0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000003fe,	0x0ff838e0,	0xe3838e0e,	0x3838e0e3,	0x838e0e38,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000001fe,	0x0ff838e0,	0xe383fe07,	0xf80ee073,	0x838e1c38,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff83cf0,	0xe1c3870e,	0x1c3870f3,	0xc3fe0ff0,	0x3800e003,	0x800e0000},
			{ 	0x00000000,	0x00000000,	0x000000f8,	0x07f03ce0,	0xe003800e,	0x003800f3,	0x81fc03e0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000003fe,	0x0ff80700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x0000070e,	0x1c3839c0,	0xe701f807,	0xe01f803c,	0x00f00380,	0x0e003803,	0xc00e0000},
			{ 	0x00000000,	0x00000000,	0x00000e73,	0xbdde3fe0,	0xff81fc0f,	0xf83fe1dd,	0xc77739ce,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff838e0,	0xe383fc0f,	0xf838e0e3,	0x83fe0ff0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000380,	0x0e003800,	0xe003f80f,	0xf038e0e3,	0x83fc0fe0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x7001c000,	0x00000070,	0x01c00700,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x0000007c,	0x03f81ce0,	0x03803c00,	0xf800e073,	0x80fe01f0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000739,	0xdce7739d,	0xce7739dc,	0xe7739dce,	0x77ffdfff,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x000000f8,	0x07f03ce0,	0xe003f00f,	0xc03800f3,	0x81fc03e0,	0x00000000,	0x00000000},
			{ 	0x00000000,	0x00000000,	0x00000673,	0x99ce6739,	0x9ce67399,	0xce67399c,	0xe7ffdfff,	0x001c0070,	0x01c00700},
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e3838e0,	0xe383de07,	0xf80fe003,	0x800e0038,	0x00000000,	0x00000000},
	                    {0x0001ffe7, 0xff9ffe7f, 0xf9ffe7ff, 0x9ffe7ff9, 0xffe7ff9f, 0xfe7ff9ff, 0xe7ff8000, 0x00000000, 0x00000000}    //  127  0x7f
			 
		},
};

UINT32* get_char_from_cyrillic_3(UINT8 charset, UINT8 character, UINT8 i)
{
   return((UINT32*)&TTX_CYRILLIC_3_Font[charset][character][i]);
}

#endif
